package com.feishi.core.util.common.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * @version 1.0
 * @auth caixq
 * @time 17-12-28 13:45
 **/
public class Sections {
    private List<Section> sections=new ArrayList<>();
    public void addSection(Section section){
        sections.add(section);
        List<Section> newSections=new ArrayList<>();
        double start;
        double end;
        for (Section s : sections) {

        }
        
        
    }

    public List<Section> getSections() {
        return sections;
    }

    public void setSections(List<Section> sections) {
        this.sections = sections;
    }

    public static void main(String[] args) {

        Sections sections=new Sections();
        sections.addSection(new Section(1,3));
        sections.addSection(new Section(3,5));

        System.out.println(sections);
    }
    @Override
    public String toString() {
        return "Sections{" +
                "sections=" + sections +
                '}';
    }
}
